package com.linghu.furn.test;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 令狐荣豪
 * @version 1.0
 */
public class T1 {

    @Test
    public void testSqlSessionFactoryBean(){
        ApplicationContext ioc =
                new ClassPathXmlApplicationContext("spring.xml");
        System.out.println(ioc.getBean("pooledDataSource"));
        System.out.println(ioc.getBean("sqlSessionFactory"));

    }
}
